package com.ssm.card.rpc.service.impl.building;


import com.ssm.card.dao.mapper.building.BuildingDao;
import com.ssm.card.dao.model.building.Building;
import com.ssm.card.rpc.api.building.BuildingService;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;


/**
* 楼栋管理 Service
* @author GaoXiang
* @version 1.0
*/
@Service
public class BuildingServiceImpl  implements BuildingService {

    @Resource
    private BuildingDao buildingDao;

    /**
    * 根据 id 查找
    * @param id 实体id
    * @return 实体
    */
    public Building selectById(String id) {
        return buildingDao.selectById(id);
    }
}
